As usual, the strings are over some alphabet
.
The following
are primitive regular expressions:
,
, the
empty string, and
, indicating
no strings at all.
| = n, then there
are n+2 primitive regular expressions defined over
.
Here are the languages defined by the primitive regular expressions:
, the primitive
regular expression x denotes the language {x}. That is, the only string in the
language is the string "x".
denotes
the language {
}. The
only string in this language is the empty string.
denotes the
language {}. There are no strings in this language.